<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../jsLib/angular.js"></script>
    <title></title>
</head>
<body ng-app="app" ng-controller="control">
<!--普通方式可行 后台会报错但是最后会把图片加载进去，但是改为ng-href,ng-src不会报错-->
<a href="{{aaa}}">1999</a>
<img src="../images/{{bbb}}" alt="">
<!--用ng-href    ng-src-->
<br>
<a ng-href="{{cc}}">60</a>
<img ng-src="../images/{{dd}}" alt="">
<script>
      var app=angular.module('app',[]);
      app.controller('control',function($scope){
          $scope.aaa="http://192.168.1.199/bqc/project2";
          $scope.bbb='1.bmp'
          $scope.cc='http://192.168.6.60/server';
          $scope.dd='5.jpg'
      })
</script>
</body>
</html>